#include "kshowwidget.h"
#include <QHBoxLayout>

KShowWidget::KShowWidget(QWidget *parent)
	: QWidget(parent)
{
	ui.setupUi(this);
	initUi();
}

void KShowWidget::initUi()
{
	imageLabel = new QLabel;
	imageLabel->setScaledContents(true);
	imageLabel->setMaximumSize(500,500);
	text = new QTextEdit(this);
	QHBoxLayout *mainLayout=new QHBoxLayout(this);
	mainLayout->addWidget(text);
	mainLayout->addWidget(imageLabel);
}

KShowWidget::~KShowWidget()
{}
